projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b1566d
)
x86/64: Fix PAE-on-64 mmuext_op() preemption.
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 20 Feb 2008 18:18:03 +0000
(18:18 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 20 Feb 2008 18:18:03 +0000
(18:18 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/x86_64/compat/mm.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/x86_64/compat/mm.c
b/xen/arch/x86/x86_64/compat/mm.c
index 14a5f3001f7ecb9337656ddd4b204e0a48b52696..256f7a5ac87158bfc7a8816d8ab286145cda45d2 100644
(file)
--- a/
xen/arch/x86/x86_64/compat/mm.c
+++ b/
xen/arch/x86/x86_64/compat/mm.c
@@
-194,19
+194,9
@@
int compat_mmuext_op(XEN_GUEST_HANDLE(mmuext_op_compat_t) cmp_uops,
for ( ; count; count -= i )
{
mmuext_op_t *nat_op = nat_ops.p;
- unsigned int limit;
+ unsigned int limit
= COMPAT_ARG_XLAT_SIZE / sizeof(*nat_op)
;
int err;
- if ( hypercall_preempt_check() )
- {
- rc = hypercall_create_continuation(
- __HYPERVISOR_mmuext_op, "hihi",
- cmp_uops, count | MMU_UPDATE_PREEMPTED, pdone, foreigndom);
- break;
- }
-
- limit = COMPAT_ARG_XLAT_SIZE / sizeof(*nat_op);
-
for ( i = 0; i < min(limit, count); ++i )
{
mmuext_op_compat_t cmp_op;